/*
 * Copyright (c) 2024. hallele, Inc All rights reserved.
 */

package cn.hallele.infrastructure.metadata.exception.children;

import cn.hallele.infrastructure.metadata.exception.HalException;
import lombok.Getter;

/**
 * 参数类异常，接口传参错误等
 *
 * @author anle5
 * @since 2024/9/8 21:34
 */
@Getter
public class ParamException extends HalException {
    /**
     * 问题参数名字集合
     */
    private String[] paramNames;

    /**
     * GGSException
     */
    public ParamException() {
        super();
    }

    /**
     * ParamException
     *
     * @param paramNames paramName
     */
    public ParamException(String message, String... paramNames) {
        super(message);
        this.paramNames = paramNames;
    }
}
